<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
    <script language="javascript" type="text/javascript">
    var pagesize=${model.pagesize};
    var pagecount=${model.pagecount};
    var resultcount=${model.resultcount};
    var currentpage=1;
    var users=new Array();
    <%! int i=0;%><%i=0;%><c:forEach items="${model.user }" var="u">users[<%=i%>]=["${u.id }", "${u.userName }", "${u.nickName }","${u.description }","${u.email }","${u.country }","${u.address }","${u.tel }","${u.birthday }","${u.userRole }"];
    <%i=i+1;%></c:forEach>
    </script>
<title>Insert title here</title>
</head>
<body onload="javascript:showresult(1);">
    <script src="js/useradmin.js" language="javascript"></script>
<security:authorize ifAllGranted="ROLE_ADMIN">message</security:authorize>
<div id="navigate"></div>
<div id="result"></div>
</body>
</html>